package com.ruoyi.business.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工业务对象 talentpool
 *
 * @author songzhengsheng
 * @date 2023-09-10
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TalentpoolBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 姓名
     */
    @NotBlank(message = "姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fullName;

    /**
     * 部门
     */
    @NotBlank(message = "部门不能为空", groups = { AddGroup.class, EditGroup.class })
    private String department;

    /**
     * 岗位
     */
    @NotBlank(message = "岗位不能为空", groups = { AddGroup.class, EditGroup.class })
    private String position;

    /**
     * 年龄
     */
    @NotNull(message = "年龄不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long age;

    /**
     * 性别
     */
    @NotBlank(message = "性别不能为空", groups = { AddGroup.class, EditGroup.class })
    private String gender;

    /**
     * 民族
     */
    @NotBlank(message = "民族不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ethnicity;

    /**
     * 身份证号码
     */
    @NotBlank(message = "身份证号码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String idNumber;

    /**
     * 身份证家庭地址
     */
    @NotBlank(message = "身份证家庭地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String homeAddress;

    /**
     * 实际居住地
     */
    @NotBlank(message = "实际居住地不能为空", groups = { AddGroup.class, EditGroup.class })
    private String residentialAddress;

    /**
     * 联系电话
     */
    @NotBlank(message = "联系电话不能为空", groups = { AddGroup.class, EditGroup.class })
    private String contactNumber;

    /**
     * 紧急联系人
     */
    @NotBlank(message = "紧急联系人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String emergencyContactPerson;

    /**
     * 紧急联系电话
     */
    @NotBlank(message = "紧急联系电话不能为空", groups = { AddGroup.class, EditGroup.class })
    private String emergencyContactNumber;

    /**
     * 学历
     */
    @NotBlank(message = "学历不能为空", groups = { AddGroup.class, EditGroup.class })
    private String education;

    /**
     * 专业
     */
    @NotBlank(message = "专业不能为空", groups = { AddGroup.class, EditGroup.class })
    private String major;

    /**
     * 是否缴纳农村医疗保险
     */
    @NotBlank(message = "是否缴纳农村医疗保险不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ruralMedicalInsurance;

    /**
     * 是否住宿
     */
    @NotBlank(message = "是否住宿不能为空", groups = { AddGroup.class, EditGroup.class })
    private String accommodation;


    /**
     * 二次入职情况
     */
    @NotBlank(message = "二次入职情况不能为空", groups = { AddGroup.class, EditGroup.class })
    private String secondemployment;

    /**
     * 头像地址
     */
    @NotBlank(message = "头像地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String img;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remarks;


}
